﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCSanPhamYeuThich.ascx.cs" Inherits="UControl_UCSanPhamYeuThich" %>
<div class="KhoiXanhLa">Sản phẩm yêu thích</div>
<asp:DataList ID="ddlSanPhamYeuThich" runat="server" Width="100%" DataKeyField="SanPhamID">
    <ItemTemplate>
        <asp:Image ID="hinh" runat="server" Height="67px" ImageAlign="Left"
        ImageUrl='<%# "~/Photos/SanPham/"+Eval("Hinh") %>' Width="90px" 
            CssClass="imgMarginR" />
               <asp:HyperLink ID="tenSanPham" runat="server" Text='<%# Eval("TenSanPham") %>' 
            NavigateUrl='<%# "~/Pages/SanPhamCT.aspx?idSP="+Eval("SanPhamID") %>' 
            CssClass="LinkYeuThich"></asp:HyperLink>
    </ItemTemplate>
</asp:DataList>   